<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/constrant.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>发票管理-开票信息</title>
		<link rel="stylesheet" href="${ctxStatic }/gov/css/gov-invoice.css" />
		<script src="${ctxStatic }/jquery/jquery-1.8.3.min.js"></script>
		<link href="${ctxStatic }/xiake/css/list.css" rel='stylesheet' type='text/css' />
		<script>
		$(document).ready(function() {
			if("${message}".length>0){
				alert("${message}");
			}
		})
		</script>
	</head>
	<body>
		<%@include file="../index/head.jsp" %>
		<div id="invoice_h">
			 <div class="invoice_main">
			 	  <div class="inv-open clearfix">
			 	  	  <div class="inv-open-tit">
			 	  	  	   <h5>开票记录</h5>
			 	  	  </div>
			 	  	  <div class="inv-open-table clearfix">
			 	  	  	   <table cellpadding="0" cellspacing="0" class="inv-tab">
			 	  	  	   	     <tr>
			 	  	  	   	     	 <th>开票抬头</th>
			 	  	  	   	     	 <th>开票金额</th>
			 	  	  	   	     	 <th>申请时间</th>
			 	  	  	   	     	 <th>状态</th>
			 	  	  	   	     </tr>
			 	  	  	   	     <c:forEach items="${page.list}" var="info">
			 	  	  	   	     <tr>
			 	  	  	   	     	<td>${info.title}</td>
			 	  	  	   	     	<td>￥${info.rcptamount}</td>
			 	  	  	   	     	<td><fmt:formatDate value="${info.createDate}" pattern="yyyy-MM-dd" /></td>
			 	  	  	   	     	<c:if test="${info.rcptStatus == '2'}">
			 	  	  	   	     	<td>已开票</td>
			 	  	  	   	     	</c:if>
			 	  	  	   	     	<c:if test="${info.rcptStatus == '1'}">
			 	  	  	   	     	<td>开票中</td>
			 	  	  	   	     	</c:if>
			 	  	  	   	     </tr>
			 	  	  	   	     </c:forEach>
			 	  	  	   </table>
			 	  	  </div>
			 	  </div>
			 </div>
			 <div style="text-align: center;">
		<div class="pagination  font_normal_size" >${page.html}</div></div>
		</div>
		<%@include file="../index/foot.jsp" %>
	</body>
</html>

